package com.wyait.manage.dao;


import com.wyait.manage.pojo.Carousel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CarouselMapper {
    List<Carousel> getcarouselList(@Param("carousel") Carousel carousel);

    int updateCarousel(@Param("carousel") Carousel carousel);

    int insert(@Param("carousel") Carousel carousel);

    int delCarousel(Integer id);

    String getImgUrlById(Integer id);

    List<Carousel> getCarousels();
}
